﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using TienTeTuong;

namespace TienTeTuong
{
    public partial class Master1 : System.Web.UI.MasterPage
    {
        //public bool IsShowProduct;
        public List<CategoryDTO> lstCate = new List<CategoryDTO>();
        CategoryBUS cateBUS = new CategoryBUS();
        public int max;// kiem tra so luong toi da category ben tree menu
        protected void Page_Load(object sender, EventArgs e)
        {
            //IsShowProduct = true;
            if(!Page.IsPostBack)
            {
                lstCate = cateBUS.GetListCategory();
            }
           

        }

        

    }
}